projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c46e04
)
window: Invert check that was wrong
author
Benjamin Otte
<otte@redhat.com>
Fri, 29 Apr 2011 01:27:02 +0000
(
03:27
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Fri, 29 Apr 2011 01:27:02 +0000
(
03:27
+0200)
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index 5c6496c1ac264b7d9c85ea7a86b4d3585a05f66c..5b9be4ebf05c723ce78059176e96284edbbe2a59 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-4960,7
+4960,7
@@
gtk_window_realize (GtkWidget *widget)
allocation.y = 0;
gtk_window_guess_default_size (window, &allocation.width, &allocation.height);
- if (allocation.width
|| allocation.height
)
+ if (allocation.width
== 0 || allocation.height == 0
)
{
/* non-empty window */
allocation.width = 200;